home *** CD-ROM | disk | FTP | other *** search
/ Medabots Cardz / Medabots CD Cardz Sumilidon.bin / mac / assets / sumilidon.dxr / 00012_Script_12 < prev    next >
Text File  |  2001-12-07  |  754b  |  35 lines

  1. property mysprite
  2. global area, goback
  3.  
  4. on beginsprite me
  5.   set mysprite to the spritenum of me
  6.   set the blend of sprite mysprite = 0
  7. end if
  8.  
  9. on exitframe me
  10.  
  11. if area = 1 then 
  12. set the member of sprite mysprite to "Area1"
  13. go to frame "construct"
  14. else if area = 2 then 
  15. set the member of sprite mysprite to "Area2"
  16. set the blend of sprite mysprite = 100
  17. go to frame "robattle"
  18. set the blend of sprite mysprite = 100
  19. else if area = 3 then 
  20. go to frame "fighter"
  21. else if area = 4 then 
  22. go to frame "fun"
  23. else if area = 5 then 
  24. set the member of sprite mysprite to "Area5"
  25. go to frame "video"
  26. else
  27. set the blend of sprite mysprite = 0
  28. go to frame 1
  29. end if
  30.  
  31. if goback = 1 then
  32. set the blend of sprite mysprite = 0
  33. end if
  34.  
  35. end